//
//  BoxCell.h
//  OrderSeat
//
//  Created by haiming on 13-10-11.
//  Copyright (c) 2013年 wangwei. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol BoxCellDelegate

@optional
- (void)selectedFinished;
- (void)tapImageWithIndex:(NSInteger)index;

@end

@interface BoxCell : UITableViewCell<UIGestureRecognizerDelegate>

@property (strong, nonatomic) IBOutlet UIImageView *logoIV;
@property (strong, nonatomic) IBOutlet UILabel *seatNameLabel;

@property (strong, nonatomic) IBOutlet UILabel *peopleNumLeftLabel;
@property (strong, nonatomic) IBOutlet UILabel *peopleNumLabel;
@property (strong, nonatomic) IBOutlet UILabel *peopleNumRightLabel;

@property (strong, nonatomic) IBOutlet UILabel *areaLeftLabel;
@property (strong, nonatomic) IBOutlet UILabel *areaLabel;
@property (strong, nonatomic) IBOutlet UILabel *areaRightLabel;

@property (strong, nonatomic) IBOutlet UILabel *installationLabel;
@property (strong, nonatomic) IBOutlet UIButton *orderBtn;
@property (strong, nonatomic) IBOutlet UIView *view;

@property (weak, nonatomic) id<BoxCellDelegate> delegate;

@property (assign, nonatomic) NSInteger index;
@property (strong, nonatomic) NSMutableDictionary *dictionary;


- (void)setContent:(NSMutableDictionary *)dic andIndex:(NSInteger)index;

@end
